﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012A9 RID: 4777
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingResumeGameCsReq : IMessage<SwordTrainingResumeGameCsReq>, IMessage, IEquatable<SwordTrainingResumeGameCsReq>, IDeepCloneable<SwordTrainingResumeGameCsReq>, IBufferMessage
	{
		// Token: 0x17003C77 RID: 15479
		// (get) Token: 0x0600D620 RID: 54816 RVA: 0x0023F6ED File Offset: 0x0023D8ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingResumeGameCsReq> Parser
		{
			get
			{
				return SwordTrainingResumeGameCsReq._parser;
			}
		}

		// Token: 0x17003C78 RID: 15480
		// (get) Token: 0x0600D621 RID: 54817 RVA: 0x0023F6F4 File Offset: 0x0023D8F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingResumeGameCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C79 RID: 15481
		// (get) Token: 0x0600D622 RID: 54818 RVA: 0x0023F706 File Offset: 0x0023D906
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingResumeGameCsReq.Descriptor;
			}
		}

		// Token: 0x0600D623 RID: 54819 RVA: 0x0023F70D File Offset: 0x0023D90D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingResumeGameCsReq()
		{
		}

		// Token: 0x0600D624 RID: 54820 RVA: 0x0023F715 File Offset: 0x0023D915
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingResumeGameCsReq(SwordTrainingResumeGameCsReq other) : this()
		{
			this.gameStoryLineId_ = other.gameStoryLineId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D625 RID: 54821 RVA: 0x0023F73A File Offset: 0x0023D93A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingResumeGameCsReq Clone()
		{
			return new SwordTrainingResumeGameCsReq(this);
		}

		// Token: 0x17003C7A RID: 15482
		// (get) Token: 0x0600D626 RID: 54822 RVA: 0x0023F742 File Offset: 0x0023D942
		// (set) Token: 0x0600D627 RID: 54823 RVA: 0x0023F74A File Offset: 0x0023D94A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GameStoryLineId
		{
			get
			{
				return this.gameStoryLineId_;
			}
			set
			{
				this.gameStoryLineId_ = value;
			}
		}

		// Token: 0x0600D628 RID: 54824 RVA: 0x0023F753 File Offset: 0x0023D953
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingResumeGameCsReq);
		}

		// Token: 0x0600D629 RID: 54825 RVA: 0x0023F761 File Offset: 0x0023D961
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingResumeGameCsReq other)
		{
			return other != null && (other == this || (this.GameStoryLineId == other.GameStoryLineId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D62A RID: 54826 RVA: 0x0023F790 File Offset: 0x0023D990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GameStoryLineId != 0U)
			{
				num ^= this.GameStoryLineId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D62B RID: 54827 RVA: 0x0023F7CF File Offset: 0x0023D9CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D62C RID: 54828 RVA: 0x0023F7D7 File Offset: 0x0023D9D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D62D RID: 54829 RVA: 0x0023F7E0 File Offset: 0x0023D9E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GameStoryLineId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.GameStoryLineId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D62E RID: 54830 RVA: 0x0023F814 File Offset: 0x0023DA14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GameStoryLineId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GameStoryLineId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D62F RID: 54831 RVA: 0x0023F852 File Offset: 0x0023DA52
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingResumeGameCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GameStoryLineId != 0U)
			{
				this.GameStoryLineId = other.GameStoryLineId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D630 RID: 54832 RVA: 0x0023F883 File Offset: 0x0023DA83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D631 RID: 54833 RVA: 0x0023F88C File Offset: 0x0023DA8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.GameStoryLineId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005583 RID: 21891
		private static readonly MessageParser<SwordTrainingResumeGameCsReq> _parser = new MessageParser<SwordTrainingResumeGameCsReq>(() => new SwordTrainingResumeGameCsReq());

		// Token: 0x04005584 RID: 21892
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005585 RID: 21893
		public const int GameStoryLineIdFieldNumber = 10;

		// Token: 0x04005586 RID: 21894
		private uint gameStoryLineId_;
	}
}
